var i=1;
var result="";
while(i<=9){
    var j=1;
    while(j<=i){
        result +=(i+"*"+j+"="+i*j+" ");
        j++;
    }
    console.log(result);
    result="";
    i++;
}

